#foreach($!obj in $!list)
<li onclick="setCategory(this)"><a href="javascript:;">$!obj.category</a></li>
#end